import pymysql
from config  import BL_MYSQL_CONF
class mysel_conf:

    @classmethod
    def pool(cls,):
        BL_MYSQL_CONF['cursorclass']=pymysql.cursors.DictCursor
        connection = pymysql.connect(**BL_MYSQL_CONF)
        return connection
